<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<html>
	<head>
		<title>帐号管理</title>
		<%@ include file="/commons/meta.jsp"%>
	</head>

	<body>

		<div id="content">
			<s:if test="id == null">创建角色</s:if>
			<s:else>修改角色</s:else>
			<s:form action="role!save" method="post">
				<input type="hidden" name="id" value="${id}">
				<table class="wwFormTable">
					<tr>
						<td class="tdLabel">
							<label  class="label">
								名称:
							</label>
						</td>
						<td>
							<input type="text" name="title" size="40" value="${name}" id="role_name" />
						</td>
					</tr>

					<tr>
						<td class="tdLabel">
							<label class="label">
								角色:
							</label>
						</td>
						<td>
							<input type="text" name="name" size="40" value="${role}" id="role_role" />
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<div align="right">
								<input type="submit" id="role_0" value="提交" />
							</div>
						</td>
					</tr>
				</table>
			
			</s:form>
		</div>
	</body>
</html>